package services

import (
	"shyxy-model-agent/core/model"
	"shyxy-model-agent/core/repository"
)

func GetModelInfoByName(modelName string, repo repository.ModelInfoRepository) (*model.ModelInfo, error) {
	return repo.FindOneByName(modelName)
}
